/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.tor.st.algo.move;

import java.awt.geom.Point2D;

/**
 *
 * @author Charon
 */
public class LinearXMovement extends AbstractMovement {

    public String getMovementName() {
        return "LinearX";
    }

    public Point2D.Double calculateNewPosition(double pCurrentX, double pXIncrement, double pCurrentY, double pYIncrement) {
        return new Point2D.Double(pCurrentX, pCurrentY + pYIncrement);
    }

    public double calculateAscentAngel(double pXValue) {
        return Math.toRadians(-90);
    }
}
